package com.tianyang.yukuaifuzs.rxservice.interfaces;

import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Streaming;
import retrofit2.http.Url;
import rx.Observable;

/**
 * Description：APP更新下载
 * Created by 薛勇军 on 2021/1/21
 */
public interface DownloadService {

    @Streaming
    @GET
    Observable<ResponseBody> executeDownload(@Header("Range") String range, @Url() String url);
}
